package com.wu.framework.yearning.plus.starter.yearning.api;

import lombok.Getter;

import java.util.List;


@lombok.Data
public class AuditOrderListDTO {
    private Payload payload;

    private int code;

    private String text;

    @Getter
    @lombok.Data
    public static final class Data {
        private int id;

        private String work_id;

        private String username;

        private int status;

        private int type;

        private int backup;

        private String idc;

        private String source;

        private String source_id;

        private String data_base;

        private String table;

        private String date;

        private String sql;

        private String text;

        private String assigned;

        private String delay;

        private String real_name;

        private String execute_time;

        private int current_step;

        private List<String> relevant;

        private String osc_info;

        private String file;

        public void setId(int id) {
            this.id = id;
        }

        public void setWork_id(String work_id) {
            this.work_id = work_id;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public void setType(int type) {
            this.type = type;
        }

        public void setBackup(int backup) {
            this.backup = backup;
        }

        public void setIdc(String idc) {
            this.idc = idc;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public void setSource_id(String source_id) {
            this.source_id = source_id;
        }

        public void setData_base(String data_base) {
            this.data_base = data_base;
        }

        public void setTable(String table) {
            this.table = table;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public void setSql(String sql) {
            this.sql = sql;
        }

        public void setText(String text) {
            this.text = text;
        }

        public void setAssigned(String assigned) {
            this.assigned = assigned;
        }

        public void setDelay(String delay) {
            this.delay = delay;
        }

        public void setReal_name(String real_name) {
            this.real_name = real_name;
        }

        public void setExecute_time(String execute_time) {
            this.execute_time = execute_time;
        }

        public void setCurrent_step(int current_step) {
            this.current_step = current_step;
        }

        public void setRelevant(List<String> relevant) {
            this.relevant = relevant;
        }

        public void setOsc_info(String osc_info) {
            this.osc_info = osc_info;
        }

        public void setFile(String file) {
            this.file = file;
        }
    }

    @lombok.Data
    public static final class Payload {
        private List<Data> data;

        private int page;
    }
}



